#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void on_pushButton7_clicked();
    void on_pushButton8_clicked();
    void on_pushButton9_clicked();
    void on_pushButton4_clicked();
    void on_pushButton5_clicked();
    void on_pushButton6_clicked();
    void on_pushButton1_clicked();
    void on_pushButton2_clicked();
    void on_pushButton3_clicked();
    void on_pushButton0_clicked();
    void on_pushButton_clear_clicked();
    void on_pushButton_dot_clicked();
    void on_pushButton_delete_clicked();
    void on_pushButton_negative_clicked();
    void on_pushButton_inv_clicked();
    void on_pushButton_per_clicked();
    void on_pushButton_ln_clicked();
    void on_pushButton_plus_clicked();
    void on_pushButton_equal_clicked();
    void on_pushButton_clearE_clicked();
    void on_pushButton_divide_clicked();
    void on_pushButton_minus_clicked();
    void on_pushButton_times_clicked();
    void on_pushButton_power_clicked();

private:
    Ui::MainWindow *ui;
    bool isDot=false;
    char c=' ';
    double a;
    double b;
    double eqn;
};
#endif // MAINWINDOW_H
